Re[2]: [SQL] How to Make Case InSensitive???

Поиск
Список
Период
Сортировка
От Herouth Maoz
Тема Re[2]: [SQL] How to Make Case InSensitive???
Дата
Msg-id l03110703b2257e356866@[147.233.159.109]
обсуждение исходный текст
Ответ на Re[2]: [SQL] How to Make Case InSensitive???  (Sferacarta Software <sferac@bo.nettuno.it>)
Список pgsql-sql
At 16:14 +0200 on 16/9/98, Sferacarta Software wrote:


> regular expression operators ^ stand for first character and $ stand
> for last character:
>
>     ~* '^india$'
>
> matches  India
>          india
>          INDIA
>
> but not  Indiana
>          New India

Another way to think of it is like this:

'india'      is eqivalent to       "contains 'india'"
'^india'     is eqivalent to       "starts with 'india'"
'india$'     is eqivalent to       "ends with 'india'"
'^india$'    is eqivalent to       "is exactly 'india'"

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma




В списке pgsql-sql по дате отправления:

Предыдущее
От: Sferacarta Software
Дата:
Сообщение: Re[2]: [SQL] How to Make Case InSensitive???
Следующее
От: Barracuda
Дата:
Сообщение: Re: [SQL] How to Make Case InSensitive???